import Vue from 'vue'
import VueRouter from 'vue-router'

// 乔晓东引
import Eja from "../views/qiaoxiaodong/shiyong/eja.vue"
import Ejb from "../views/qiaoxiaodong/shiyong/ejb.vue"
import Ejc from "../views/qiaoxiaodong/shiyong/ejc.vue"
import Ejd from "../views/qiaoxiaodong/shiyong/ejd.vue"
import Eje from "../views/qiaoxiaodong/shiyong/eje.vue"
import Sybg from "../views/qiaoxiaodong/sybaogao/sybg.vue"
import Wd from "../views/qiaoxiaodong/wode/wode.vue"
import Bgxq from "../views/qiaoxiaodong/bgxq/bgxq.vue"
import Xsms from "../views/qiaoxiaodong/xsms/xsms.vue"
import Msa from "../views/qiaoxiaodong/xsms/msa.vue"
import Msb from "../views/qiaoxiaodong/xsms/msb.vue"
import Msc from "../views/qiaoxiaodong/xsms/msc.vue"


// 李阳
import PlaceOrder from "@/views/liyang/PlaceOrder.vue"
import PaymentOrder from "@/views/liyang/PaymentOrder.vue"
import Order from "@/views/liyang/order.vue"
import CardBag from "@/views/liyang/CardBag.vue"
import OpenShop from "@/views/liyang/Openshop.vue"
import ShopCart from "@/views/liyang/shopcart.vue"
import Member from "@/views/liyang/member.vue"
import Cmt from "@/views/liyang/cosmetology.vue"
import Goodshop from "@/views/liyang/goodshop.vue"
import a from "@/views/liyang/a.vue"
import b from "@/views/liyang/b.vue"


// 韩超勃
import Tj from "../views/hanchaobo/tuijian.vue"
import Mj from "../views/hanchaobo/meijia.vue"
import Mjie from "../views/hanchaobo/meijie.vue"
import Mr from "../views/hanchaobo/meirong.vue"
import Ll from "../views/hanchaobo/liliao.vue"
import Mf from "../views/hanchaobo/meifa.vue"
import Hz from "../views/hanchaobo/huazhuang.vue"
import Byj from "../views/hanchaobo/banyongjiu.vue"
import Td from "../views/hanchaobo/tidiao.vue"
import Dz from "../views/hanchaobo/dizhi.vue"
import Adz from "../views/hanchaobo/adddizhi.vue"
import Dp from "../views/hanchaobo/dianpu.vue"

// 王霞
import Home from "../views/wx/Home.vue"
import Login from "../views/wx/login.vue"
import Register from "../views/wx/register.vue"
import Jz from "../views/wx/jz.vue"
import Hdgz from "../views/wx/hdgz.vue"
import Detail from "../views/wx/detail.vue"
import Shop from "../views/wx/shop.vue"


import MeiF from "../views/wx/meif.vue"

//薛强
import UseCenter from "../views/xQ/useCenter.vue"
import Using from "../views/xQ/Using.vue"
import My from "../views/xQ/my.vue"
import Goods from "../views/xQ/goods.vue"
import De from "../views/xQ/details.vue"
import Dzi from "../views/xQ/dingzhi.vue"





//李张超
import Me from  '../views/lzc/message.vue'
import Hi from  '../views/lzc/history.vue'
import Se from  '../views/lzc/sever.vue'
import Sh from '../views/lzc/shop.vue'
import Re from '../views/lzc/reload.vue'






Vue.use(VueRouter)

const routes = [
  // {
  //   path: '/',
  //   name: 'Home',
  //   component: Home
  // },


  // 乔晓东引
  {
    path: '/eja',
    name: 'Eja',
    component: Eja
  },
  {
    path: '/ejb',
    name: 'Ejb',
    component: Ejb
  },
  {
    path: '/ejc',
    name: 'Ejc',
    component: Ejc
  },
  {
    path: '/ejd',
    name: 'Ejd',
    component: Ejd
  },
  {
    path: '/eje',
    name: 'Eje',
    component: Eje
  },
  {
    path: '/sybg',
    name: 'Sybg',
    component: Sybg
  },
  {
    path: '/wd',
    name: 'Wd',
    component: Wd
  },
  {
    path: '/bgxq',
    name: 'Bgxq',
    component: Bgxq
  },
  {
    path: '/xsms',
    name: 'Xsms',
    component: Xsms
  },
  {
    path: '/msa',
    name: 'Msa',
    component: Msa
  },
  {
    path: '/msb',
    name: 'Msb',
    component: Msb
  },
  {
    path: '/msc',
    name: 'Msc',
    component: Msc
  },
  {
    path: '/mjtjpd',
    name: 'mjtjpd',
    component: () => import('@/views/qiaoxiaodong/mjtjpd/mjtjpd.vue')
  },
  {
    path: '/wdlmka',
    name: 'wdlmka',
    component: () => import('@/views/qiaoxiaodong/wdlmk/wdlmka.vue')
  },
  {
    path: '/wdlmkb',
    name: 'wdlmkb',
    component: () => import('@/views/qiaoxiaodong/wdlmk/wdlmkb.vue')
  },
  {
    path: '/wdlmkc',
    name: 'wdlmkc',
    component: () => import('@/views/qiaoxiaodong/wdlmk/wdlmkc.vue')
  },


  // 韩超勃

  {
    path: '/tj',
    name: 'Tj',
    component: Tj
  },
  {
    path: '/mj',
    name: 'Mj',
    component: Mj
  },
  {
    path: '/mjie',
    name: 'Mjie',
    component: Mjie
  },
  {
    path: '/mr',
    name: 'Mr',
    component: Mr
  },
  {
    path: '/ll',
    name: 'Ll',
    component: Ll
  },
  {
    path: '/mf',
    name: 'Mf',
    component: Mf
  },
  {
    path: '/hz',
    name: 'Hz',
    component: Hz
  },
  {
    path: '/byj',
    name: 'Byj',
    component: Byj
  },
  {
    path: '/td',
    name: 'Td',
    component: Td
  },
  {
    path: "/dz",
    name: "dz",
    component: Dz
  },
  {
    path: "/adz",
    name: "adz",
    component: Adz
  },
  {
    // path: "/dp",
    // name: "dp",
    // component: Dp
    path:"/dp",
    name:"dp",
    component:Dp,
    children:[
      {
        path: '/qb',
        name: 'qb',
        component: () => import('../views/hanchaobo/erji/quanbu.vue')
      },
      {
        path: '/sbmj',
        name: 'sbmj',
        component: () => import('../views/hanchaobo/erji/shoubumeijia.vue')
      },
      {
        path: '/sjm',
        name: 'sjm',
        component: () => import('../views/hanchaobo/erji/shangjiemao.vue')
      },
      {
        path: '/zy',
        name: 'zy',
        component: () => import('../views/hanchaobo/erji/zhongyi.vue')
      },
      {
        path: '/pf',
        name: 'pf',
        component: () => import('../views/hanchaobo/erji/pifu.vue')
      },
      {
        path: '/spa',
        name: 'spa',
        component: () => import('../views/hanchaobo/erji/spa.vue')
      },
      {
        path: '/wb',
        name: 'wb',
        component: () => import('../views/hanchaobo/erji/waibu.vue')
      },
      {
        path: '/kj',
        name: 'kj',
        component: () => import('../views/hanchaobo/erji/keji.vue')
      },
      {
        path: '/',
        redirect:"/qb"
      },
    ]
  },
  {
    path: '/xq',
    name: 'xq',
    component: () => import('../views/hanchaobo/xiangqing.vue')
  },
  {
    path: '/sta',
    name: 'sta',
    component: () => import('../views/hanchaobo/shoptypeall.vue')
  },








  // 李阳
  {
    path: '/placeorder',
    name: 'PlaceOrder',
    component: PlaceOrder
  },
  {
    path: '/pay',
    name: 'PaymentOrder',
    component: PaymentOrder
  },
  {
    path: '/order',
    name: 'Order',
    component: Order
  },
  {
    path: '/card',
    name: 'CardBag',
    component: CardBag
  },
  {
    path: '/shop',
    name: 'OpenShop',
    component: OpenShop
  },
  {
    path: '/shopcart',
    name: 'ShopCart',
    component: ShopCart
  },
  {
    path: '/member',
    name: 'Member',
    component: Member
  },
  {
    path: '/cmt',
    name: 'Cmt',
    component: Cmt
  },
  {
    path: '/goodshop',
    name: 'Goodshop',
    component: Goodshop,
    children:[
      {
        path: '/a',
        name: 'a',
        component: a
      },
      {
        path: '/b',
        name: 'b',
        component: b
      },
    ]
  },
  {
    path: '/goodshop',
    redirect: '/goodshop/a'
  },
  

  // 王霞
  {
    path: '/home',
    name: 'Home',
    component: Home
  },
  {
    path: '/login',
    name: 'Login',
    component: Login
  },
  {
    path: '/register',
    name: 'Register',
    component: Register
  },
  {
    path: '/MeiF',
    name: 'MeiF',
    component: MeiF
  },
  {
    path: '/jz',
    name: 'Jz',
    component: Jz
  },
  {
    path: '/hdgz',
    name: 'Hdgz',
    component: Hdgz
  },
  {
    path: '/detail',
    name: 'Detail',
    component: Detail
  },
  {
    path: '/Dshop',
    name: 'Shop',
    component: Shop
  },
  {
    path: '/',
    redirect: '/Home'
  },
  // 薛强
  {
    path: '/UseCenter',
    name: 'UseCenter',
    component: UseCenter
  },
  {
    path: '/Using',
    name: 'Using',
    component: Using
  },
  {
    path: '/My',
    name: 'My',
    component: My
  },
  {
    path: '/Goods',
    name: 'Goods',
    component: Goods
  },
  {
    path: '/De',
    name: 'De',
    component: De
  },
  {
    path: '/Dzi',
    name: 'Dzi',
    component: Dzi
  },



  //李张超
  {
    path: '/hi',
    name: 'Hi',
    component: Hi
  },
  {
    path: '/me',
    name: 'Me',
    component: Me
  },
  {
    path: '/se',
    name: 'Se',
    component: Se
  },
  {
    path: '/sh',
    name: 'Sh',
    component: Sh,
    children: [
      {
        path: '/qub',
        name: 'qub',
        component:()=> import("../views/lzc/er/qb.vue")
      },
      {
        path: '/pif',
        name: 'pif',
        component:()=> import("../views/lzc/er/pf.vue")
      },
      {
        path: '/sp',
        name: 'sp',
        component:()=> import("../views/lzc/er/sp.vue")
      },
      {
        path: '/',
       redirect:"/qub"
      },

    ]

  },
  {
    path: '/re',
    name: 'Re',
    component: Re
  },
  // {
  //   path: '/set',
  //   name: 'set',
  //   component:()=> import("../views/lzc/set.vue")
  // },
  {
    path: '/set',
    name: 'set',
    component:()=> import("../views/lzc/set.vue")
  },
  {
    path: '/payx',
    name: 'payx',
    component:()=> import("../views/lzc/payx.vue")
  },
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
